import Vue from 'vue';
import Router from 'vue-router';
import FilmReviewHome from '../components/FilmReviewHome.vue';
import FilmCategory from '../components/FilmCategory.vue';
import FilmSearch from '../components/FilmSearch.vue';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: FilmReviewHome
    },
    {
      path: '/category',
      name: 'FilmCategory',
      component: FilmCategory
    },
    {
      path: '/search',
      name: 'FilmSearch',
      component: FilmSearch
    }
  ]
});